﻿using EM.OA.BLL;
using EM.OA.DataTransferObject;
using EM.OA.WebCommon.Base;
using System;
using System.ComponentModel.DataAnnotations;
namespace EM.OA.Portal.Models
{
    public class MemoryModels : BaseViewModel
    {
        /// <summary>
        /// MemoryID
        /// </summary>		
        [Display(Name = "MemoryID")]
        public Guid? MemoryID { get; set; }
        /// <summary>
        /// 内容
        /// </summary>		
        [Display(Name = "内容")]
        public string Content { get; set; }

        public RemindModels RemindModels { get; set; }

        public RemindDTO RemindDTO
        {
            get
            {
              return  new RemindBLL().GetRemindByObjectID(MemoryID.Value);
            }
        }

    }
}